package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * <p>
 * 服务流程字段表
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
@Data
public class TProcessValueParam {

    /**
     * 服务流程ID
     */
    @NotNull(message = "服务流程ID不能为空")
    @Min(value = 1, message = "服务ID有误")
    @ApiModelProperty(value = "服务流程ID",example = "1")
    private Integer processId;

    /**
     * 服务流程名
     */
    @NotNull(message = "流程名不能为空")
    @Size(min = 0,max = 30, message = "流程名内容大小有误")
    @ApiModelProperty(value = "服务流程名")
    private String processValue;

    /**
     * 服务ID
     */
    @NotNull(message = "服务ID不能为空")
    @Min(value = 1, message = "服务ID有误")
    @ApiModelProperty(value = "服务ID",example = "1")
    private Integer serviceId;

    /**
     * 订单ID
     */
    @NotNull(message = "订单详情ID不能为空")
    @Min(value = 1, message = "订单详情ID有误")
    @ApiModelProperty(value = "订单ID",example = "1")
    private Integer detailId;


}
